<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            background-color: lightcyan;
            font-size: 42px;
            line-height: 90px
        }

        div.pic{
            display: inline-block;
            width: 50px;
            height: 50px;
            background-color: lightgreen;
            vertical-align: top;
        }
    </style>
</head>
<body>
    <div>xz
        <div class="pic"></div>
    </div>
</body>
</html>